//
//  ShoppingCart.m
//  OrderMeal
//
//  Created by 周浩 on 14-4-9.
//  Copyright (c) 2014年 周浩. All rights reserved.
//

#import "ShoppingCart.h"

@implementation ShoppingCart

-(id)initWithDict:(NSDictionary *)dict
{
    if (self=[super init]) {
        self.name=dict[@""];
        self.price=dict[@""];
        self.num=dict[@""];
    }
    return self;
}


+(id)shoppingCartWithDict:(NSDictionary *)dict
{
    return  [[self alloc]initWithDict:dict];
}

@end
